package com.yz.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.yz.entity.Membership;
import com.yz.entity.Readroom;

public interface ReadroomMapper {
	//获取阅览室列表
	public List<Readroom> getRead(Readroom readroomDto);
	//添加阅览室信息
	public boolean addRead(Readroom readroom);
	//修改阅览室信息
	public boolean updateRead(Readroom readroom);
	//删除阅览室信息
	public boolean delRead(int rid);
	
	//获取资源室
	@Select("select * from readroom")
	public List<Readroom> getAllRead();
}
